package com.zdsoft.finance.organization.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 
 * 版权所有：重庆正大华日软件有限公司
 * @Title:Bank.java
 * @Package:com.zdsoft.finance.entity.basedata.organization
 * @Description:合作机构 银行特有的实体
 * @author: dengyy
 * @date:2016年10月20日 下午2:10:09
 * @version:v1.0
 */
@Entity
@Table(name="zds_bank")
public class Bank extends LoanOrganization {

    private static final long serialVersionUID = 1L;
    
    /**
     * 保证金率
     */
    @Column(precision = 5, scale = 4)
    private Double pledgeRate ; 
    
    /**
     * 代偿宽限期限
     */
    @Column(length=32)
    private String compFreePeriod ;
    
    /**
     * 期限单位
     */
    @Column(length=20)
    private String deadlineUnit ;
    
    /**
     * 期限单位名称
     */
    @Column(length=64)
    private String deadlineUnitName ;
    
    /**
     * 银行网点编号
     */
    @Column(length=64)
    private String bankOutletsCode ;
    
    /**
     * 放大倍数
     */
    @Column(precision=5,scale=4)
    private Double magnification ;
    
    /**
     * 利率限幅
     */
    @Column(precision=5,scale=4)
    private Double rateLimiting ;
    
    /**
     * 损失分摊比例
     */
    @Column(precision=5,scale=4)
    private Double lossShareRate ;
    
    /**
     * 客户经理姓名
     */
    @Column(length=64)
    private String managerName ;
    
    /**
     * 客户经理联系电话
     */
    @Column(length=11)
    private String managerPhone ;
    
    /**
     * 单笔限额
     */
    @Column(precision=15,scale=2)
    private BigDecimal singleLimit ;
    
    /**
     * 银行性质
     */
    @Column(length=32)
    private String bankNature ;
    
    /**
     * 协议类型
     */
    @Column(length=32)
    private String protocolType ;
    
    /**
     * 合作机构其他费用
     */
    @Column(precision=15,scale=2)
    private BigDecimal otherFee ;
    
    public Double getPledgeRate() {
        return pledgeRate;
    }

    public void setPledgeRate(Double pledgeRate) {
        this.pledgeRate = pledgeRate;
    }

    public String getCompFreePeriod() {
        return compFreePeriod;
    }

    public void setCompFreePeriod(String compFreePeriod) {
        this.compFreePeriod = compFreePeriod;
    }

    public String getDeadlineUnit() {
        return deadlineUnit;
    }

    public void setDeadlineUnit(String deadlineUnit) {
        this.deadlineUnit = deadlineUnit;
    }

    public String getBankOutletsCode() {
        return bankOutletsCode;
    }

    public void setBankOutletsCode(String bankOutletsCode) {
        this.bankOutletsCode = bankOutletsCode;
    }
    
    public Double getMagnification() {
        return magnification;
    }

    public void setMagnification(Double magnification) {
        this.magnification = magnification;
    }

    public Double getRateLimiting() {
        return rateLimiting;
    }

    public void setRateLimiting(Double rateLimiting) {
        this.rateLimiting = rateLimiting;
    }

    public Double getLossShareRate() {
        return lossShareRate;
    }

    public void setLossShareRate(Double lossShareRate) {
        this.lossShareRate = lossShareRate;
    }

    public String getManagerName() {
        return managerName;
    }

    public void setManagerName(String managerName) {
        this.managerName = managerName;
    }

    public String getManagerPhone() {
        return managerPhone;
    }

    public void setManagerPhone(String managerPhone) {
        this.managerPhone = managerPhone;
    }

    public BigDecimal getSingleLimit() {
        return singleLimit;
    }

    public void setSingleLimit(BigDecimal singleLimit) {
        this.singleLimit = singleLimit;
    }

    public String getBankNature() {
        return bankNature;
    }

    public void setBankNature(String bankNature) {
        this.bankNature = bankNature;
    }

    public String getProtocolType() {
        return protocolType;
    }

    public void setProtocolType(String protocolType) {
        this.protocolType = protocolType;
    }

    public BigDecimal getOtherFee() {
        return otherFee;
    }

    public void setOtherFee(BigDecimal otherFee) {
        this.otherFee = otherFee;
    }

	public String getDeadlineUnitName() {
		return deadlineUnitName;
	}

	public void setDeadlineUnitName(String deadlineUnitName) {
		this.deadlineUnitName = deadlineUnitName;
	}

}
